SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 55050: You might be able to add a comment to an unsaved case, incident, or subject in SAS® Enterprise Case Management

DetailsHotfixAboutRate It

SAS Enterprise Case Management should require you to save a new case, subject, or incident before you add a comment. However, you might be able to add a comment to the unsaved case, subject, or incident.

This problem occurs because the system does not honor the readonly attribute for comments and attachments.

To work around the problem, you can specify the IsEntitySaved() Custom Page Builder function in your UI definition file. With this function, the system displays the CommentsAndAttachments field only after the entity is saved. For example:

<if test="IsEntitySaved()">
   <field type="component" required="false" component-name="CommentsAndAttachments" name="TEMP.COMMENTS">
      <param name="height" value="500" />
      <param name="objectTypeId" value="GetObjectTypeId('CASE')" />
      <param name="objectId" value="CASE.CASE_RK" />
   </field>
</if>

Click the Hot Fix tab in this note to access the hot fix for this issue.

With the hot fix, the system honors the readonly attribute for comments and attachments. For example:

<field type="component" required="false" component-name="CommentsAndAttachments" name="TEMP.COMMENTS" readonly="!IsEntitySaved()">


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Enterprise Case ManagementMicrosoft® Windows® for x646.16.39.4 TS1M09.4 TS1M2
64-bit Enabled AIX6.16.39.4 TS1M09.4 TS1M2
64-bit Enabled Solaris6.16.39.4 TS1M09.4 TS1M2
HP-UX IPF6.16.39.4 TS1M09.4 TS1M2
Linux for x646.16.39.4 TS1M09.4 TS1M2
Solaris for x646.16.39.4 TS1M09.4 TS1M2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.